package com.example.design.创建型设计模式.抽象工厂模式;

// Intel 电脑工厂类
public class IntelComputerFactory implements ComputerFactory {
    @Override
    public CPU createCPU() {
        return new IntelCPU();
    }

    @Override
    public Memory createMemory() {
        return new KingstonMemory();
    }

    @Override
    public HardDisk createHardDisk() {
        return new WesternDigitalHardDisk();
    }
}
